package cn.itcast.tanhua.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 等级的封面的枚举类
 *
 * @Author: 杨雅雯
 * @Date: 2021/12/7 0:02
 */
public enum LevelCover {

    PRIMARY(1,"初级灵魂题","初级"," https://tanhua-dev.oss-cn-zhangjiakou.aliyuncs.com/images/test_soul/qn_cover_01.png"),

    INTERMEDIATE(2,"中级灵魂题","中级","https://tanhua-dev.oss-cn-zhangjiakou.aliyuncs.com/images/test_soul/qn_cover_02.png"),

    SENIOR(3,"高级灵魂题","高级","https://tanhua-dev.oss-cn-zhangjiakou.aliyuncs.com/images/test_soul/qn_cover_03.png");


    private int id;//问卷编号
    private String name;//问卷名称： 初级灵魂题,中级灵魂题,高级灵魂题
    private String lever;//级别：初级,中级,高级
    private String url;//封面地址


    LevelCover(int id, String name, String lever, String url) {
        this.id = id;
        this.name = name;
        this.lever=lever;
        this.url=url;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getLever() {
        return lever;
    }

    public String getUrl() {
        return url;
    }

}
